﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Evpo.ContactData.UI
{
    public partial class SimpleDictionary : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #region Properties

        public string LookupName
        {
            get
            {
                return uiDropDown.LookupName;
            }
            set
            {
                uiDropDown.LookupName = value;
            }
        }


        public string SelectedValue
        {
            get
            {
                return uiDropDown.SelectedValue;
            }
            set
            {
                uiDropDown.SelectedValue = value;
            }
        }

        public string DisplayName
        {
            get
            {
                return uiDisplayName.Text;
            }
            set
            {
                uiDisplayName.Text = value;
            }
        }

        public bool IsReadOnly
        {
            get;
            set;
        }

        public object DataSource
        {
            get
            {
                return uiDropDown.DataSource;
            }
            set
            {
                uiDropDown.DataSource = value;
            }
        }
        #endregion
    }
}